package DB_Layer;

import Model_Layer.*;
import java.util.ArrayList;

/**
 * Interface to the DB_Zipcode_City
 * @author Gruppe 5
 *
 */

public interface IFDB_Zipcode_City {
	//Get all zipcodes and citys
	public ArrayList<Zipcode_City> getAllZipCode_City (boolean retriveAssociation);
	//Get one Zipcode_City having the zipcode
	public Zipcode_City findZipcode(int zipcode, boolean retriveAssociation);
	//Get one ZipCode_City having the City
	public Zipcode_City findCity(String city, boolean retriveAssociation);
	
	//insert a new Zipcode_City
	public int insertZipcode_City(Zipcode_City zip) throws Exception;
	//update information about an Zipcode_City
	public int updateZipcode_City(Zipcode_City zip);

	

}
